Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

163
Vistas
Prevent CKEditor 4 from wrapping [shortcode] in paragraphs

I have CKEditor 4 implemented in a custom development, and I'm having the problem that it wraps the [shortcodes] in paragraphs.

This makes the browser try to keep HTML semantic and generate empty paragraphs.

I need that when inserting

[shortcode-one] text [/ shortcode-one] [shortcode foo = "bar"]

it doesn't end up being

<p>[shortcode-one] text [/ shortcode-one] [shortcode foo = "bar"]</p>

I read the CKEditor 4 documentation and did some testing but no luck.

Also, ckeditor adds empty paragraphs, and we want to keep the ENTER_P functionality but get rid of the

<p>&nbsp;</p>

Any idea where the solution might be?

Thanks!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda